<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkInputDialog</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
<link rel="up" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
<link rel="prev" href="GtkFontSelectionDialog.html" title="GtkFontSelectionDialog">
<link rel="next" href="LayoutContainers.html" title="Layout Containers">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkFontSelectionDialog.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="SelectorWidgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
<td><a accesskey="n" href="LayoutContainers.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkInputDialog.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GtkInputDialog.description" class="shortcut">Description</a>
                   | 
                  <a href="#GtkInputDialog.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GtkInputDialog.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#GtkInputDialog.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="GtkInputDialog"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkInputDialog.top_of_page"></a>GtkInputDialog</span></h2>
<p>GtkInputDialog — Configure devices for the XInput extension</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GtkInputDialog.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

struct              <a class="link" href="GtkInputDialog.html#GtkInputDialog-struct" title="struct GtkInputDialog">GtkInputDialog</a>;
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkInputDialog.html#gtk-input-dialog-new" title="gtk_input_dialog_new ()">gtk_input_dialog_new</a>                (<em class="parameter"><code><span class="type">void</span></code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GtkInputDialog.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
                           +----<a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
                                 +----<a class="link" href="GtkWindow.html" title="GtkWindow">GtkWindow</a>
                                       +----<a class="link" href="GtkDialog.html" title="GtkDialog">GtkDialog</a>
                                             +----GtkInputDialog
</pre>
</div>
<div class="refsect1">
<a name="GtkInputDialog.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkInputDialog implements
 AtkImplementorIface and  <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="GtkInputDialog.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="GtkInputDialog.html#GtkInputDialog-disable-device" title='The "disable-device" signal'>disable-device</a>"                                 : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
  "<a class="link" href="GtkInputDialog.html#GtkInputDialog-enable-device" title='The "enable-device" signal'>enable-device</a>"                                  : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
</pre>
</div>
<div class="refsect1">
<a name="GtkInputDialog.description"></a><h2>Description</h2>
<p>
<a class="link" href="GtkInputDialog.html" title="GtkInputDialog"><span class="type">GtkInputDialog</span></a> displays a dialog which allows the user
to configure XInput extension devices. For each
device, they can control the mode of the device
(disabled, screen-relative, or window-relative),
the mapping of axes to coordinates, and the
mapping of the devices macro keys to key press
events.
</p>
<p>
<a class="link" href="GtkInputDialog.html" title="GtkInputDialog"><span class="type">GtkInputDialog</span></a> contains two buttons to which
the application can connect; one for closing
the dialog, and one for saving the changes.
No actions are bound to these by default.
The changes that the user makes take effect
immediately.
</p>
<p>
As of GTK+ 2.20, <a class="link" href="GtkInputDialog.html" title="GtkInputDialog"><span class="type">GtkInputDialog</span></a> has been deprecated since it is too specialized.
</p>
</div>
<div class="refsect1">
<a name="GtkInputDialog.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GtkInputDialog-struct"></a><h3>struct GtkInputDialog</h3>
<pre class="programlisting">struct GtkInputDialog;</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkInputDialog</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-input-dialog-new"></a><h3>gtk_input_dialog_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_input_dialog_new                (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_input_dialog_new</code> has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.</p>
</div>
<p>
Creates a new <a class="link" href="GtkInputDialog.html" title="GtkInputDialog"><span class="type">GtkInputDialog</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the new <a class="link" href="GtkInputDialog.html" title="GtkInputDialog"><span class="type">GtkInputDialog</span></a>.</td>
</tr></tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GtkInputDialog.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GtkInputDialog-disable-device"></a><h3>The <code class="literal">"disable-device"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkInputDialog.html" title="GtkInputDialog"><span class="type">GtkInputDialog</span></a> *inputdialog,
                                                        <a href="../gdk/gdk-Input-Devices.html#GdkDevice"><span class="type">GdkDevice</span></a>      *arg1,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)        : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
This signal is emitted when the user changes the
mode of a device from a <a href="../gdk/gdk-Input-Devices.html#GDK-MODE-SCREEN:CAPS"><span class="type">GDK_MODE_SCREEN</span></a> or <a href="../gdk/gdk-Input-Devices.html#GDK-MODE-WINDOW:CAPS"><span class="type">GDK_MODE_WINDOW</span></a>
to <span class="type">GDK_MODE_ENABLED</span>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>inputdialog</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>deviceid</code></em> :</span></p></td>
<td>The ID of the newly disabled device.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkInputDialog-enable-device"></a><h3>The <code class="literal">"enable-device"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkInputDialog.html" title="GtkInputDialog"><span class="type">GtkInputDialog</span></a> *inputdialog,
                                                        <a href="../gdk/gdk-Input-Devices.html#GdkDevice"><span class="type">GdkDevice</span></a>      *arg1,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)        : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
This signal is emitted when the user changes the
mode of a device from <a href="../gdk/gdk-Input-Devices.html#GDK-MODE-DISABLED:CAPS"><span class="type">GDK_MODE_DISABLED</span></a> to a
<a href="../gdk/gdk-Input-Devices.html#GDK-MODE-SCREEN:CAPS"><span class="type">GDK_MODE_SCREEN</span></a> or <a href="../gdk/gdk-Input-Devices.html#GDK-MODE-WINDOW:CAPS"><span class="type">GDK_MODE_WINDOW</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>inputdialog</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>deviceid</code></em> :</span></p></td>
<td>The ID of the newly enabled device.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>